package com.hh.jwtdemo.config;

import com.hh.jwtdemo.interceptor.EncryptInterceptor2;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyBatisConfig {

//    @Bean
//    public EncryptInterceptor encryptInterceptor() {
//        return new EncryptInterceptor();
//    }

    @Bean
    public EncryptInterceptor2 encryptInterceptor() {
        return new EncryptInterceptor2();
    }
}

